<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('详细记录')" />
</head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m-t" id="form-passinfo-detail" th:object="${passInfo}">
		<div class="form-group" th:style="'display:' + ${passInfo.drivername == null ? 'none' : 'block'}">
			<label class="col-sm-3 control-label">司机姓名：</label>
			<div class="col-sm-8" style="width: 50%" >
				<input class="form-control" type="text" readonly="readonly" name="drivername" id="drivername" th:field="*{drivername}" >
			</div>
		</div>
		<div class="form-group" th:style="'display:' + ${passInfo.phonenum == null ? 'none' : 'block'}">
			<label class="col-sm-3 control-label">联系方式：</label>
			<div class="col-sm-8" style="width: 50%">
				<input class="form-control" type="text" readonly="readonly" name="phonenum" id="phonenum" th:field="*{phonenum}" >
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label ">车牌号码：</label>
			<div class="col-sm-8">
				<input class="form-control" type="text" readonly="readonly" name="license" id="license" th:field="*{license}" >
			</div>
		</div>
		<div class="form-group" th:style="'display:' + ${passInfo.cartypename == null ? 'none' : 'block'}">
			<label class="col-sm-3 control-label">车辆类型：</label>
			<div class="col-sm-8">
				<input class="form-control" type="text" readonly="readonly" name="cartypename" id="cartypename" th:field="*{cartypename}" >
			</div>
		</div>
		<div class="form-group" th:style="'display:' + ${passInfo.purposeInfo == null ? 'none' : 'block'}">
			<label class="col-sm-3 control-label">来访目的：</label>
			<div class="col-sm-8">
				<input class="form-control" type="text" readonly="readonly" name="purposeInfo" id="purposeInfo" th:field="*{purposeInfo}" >
			</div>
		</div>
		<div class="form-group" th:style="'display:' + ${passInfo.destname == null ? 'none' : 'block'}">
			<label class="col-sm-3 control-label">进口来访：</label>
			<div class="col-sm-8">
				<input class="form-control" type="text" readonly="readonly" name="destname" id="destname" th:field="*{destname}" >
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">备注：</label>
			<div class="col-sm-8">
				<input class="form-control" type="text" readonly="readonly" name="remark" id="remark" th:field="*{remark}" >
			</div>
		</div>
		<div class="form-group" th:style="'display:' + ${passInfo.inid == null ? 'none' : 'block'}">
			<label class="col-sm-3 control-label">进入时间：</label>
			<div class="col-sm-8">
				<div class="form-control-static" th:text="${#dates.format(passInfo.indate,'yyyy-MM-dd HH:mm:ss')}"/>
			</div>
		</div>

		<div class="form-group" th:style="'display:' + ${passInfo.outid == null ? 'none' : 'block'}">
			<label class="col-sm-3 control-label">外出时间:</label>
			<div class="col-sm-8">
				<div class="form-control-static" th:text="${#dates.format(passInfo.outdate,'yyyy-MM-dd HH:mm:ss')}"/>
			</div>
		</div>
	</form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
    </script>
</body>
</html>